import { Injectable } from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm';
import { Repository } from 'typeorm';
import { BaseService } from '../base/base.service';
import { ChargingCard } from '../entities/ChargingCard';

@Injectable()
export class ChargingCardService extends BaseService<ChargingCard>{
    constructor(
        @InjectRepository(ChargingCard) protected repository:Repository<ChargingCard>
    ) {
        super()
        this.primaryKey = 'id'
    }
}
